package com.title.screen;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class TitlescreenActivity extends Activity implements OnClickListener  {
    /** Called when the activity is first created. */
	
	Button b;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        b = (Button) findViewById(R.id.button1);
        b.setOnClickListener(this);
      
        
    }

	public void onClick(View v) {
		  Intent intent = new Intent(this, switcher.class);
		if(v.equals(b)){
			this.startActivity(intent);
		}
		
	}
}